package tech.aistar.service;

import com.baomidou.mybatisplus.extension.service.IService;
import tech.aistar.pojo.Result;
import tech.aistar.pojo.User;

import javax.servlet.http.HttpServletRequest;


public interface UserService extends IService<User> {

    Result login(String username, String password,  HttpServletRequest request);

    Result updatePassword(String username, String password, String newPassword, User confirmPassword);

    Result register(String username, String password, String email, String name);
}
